{extend name="base" /}

{block name="content"}

<script src="__STATIC__/public/My97DatePicker/WdatePicker.js"></script>

<div class="g-main">

    <div class="m-main-title">

        <div class="m-container-fluid">

            <a href="{:url('index/welcome')}"><i class="icon icon-home"></i>首页</a>

            <span class="icon-angle-right"></span>

            <span>系统</span>

            <span class="icon-angle-right"></span>

            <span>统计管理</span>

            <span class="icon-angle-right"></span>

            <span>会员统计</span>

            <a class="u-flush"><i class="icon-repeat"></i></a>

        </div>

    </div>

    <div class="m-main-content">

        <div class="m-container">

            <table class="m-table">

                <tr>

                    <th>

                        <div class="m-options cf">

                            <div class="m-search fr">

                                <form action="" class="layui-form">

                                        <label for="">时间</label>

                                        <input type="text" name="start_time" class="u-ipt u-ipt-small" placeholder="开始时间" value="{$startTime ?: ''}" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" readonly />

                                        <span>-</span>

                                        <input type="text" name="end_time" class="u-ipt u-ipt-small" placeholder="结束时间" value="{$endTime ?: ''}" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" readonly />

                                        <input type="submit" class="u-btn u-search" value="查看" />

                                </form>

                            </div>

                        </div>

                    </th>

                </tr>

            </table>

            <form class="layui-form">

                <table class="m-table mt-10">

                    <tbody class="datas">

                    <tr>


                        <th width="15%">日期</th>

                        <th width="10%">数量</th>

                    </tr>

                    {foreach name="users" item="v"}

                    <tr>

                        <td>{$v.chartdate}</td>

                        <td>{$v.tcount}</td>

                    </tr>

                    {/foreach}

                    </tbody>

                </table>

            </form>


        </div>

    </div>

</div>

{/block}
